package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * mybatis封装时间对象
 */
public class ZdTime {

    @TableField(value = "createTime", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd  HH :mm:ss",timezone = "GMT+8")
    private Date createTime;

    @TableField(value = "updateTime", fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd  HH :mm:ss",timezone = "GMT+8")
    private Date updateTime;

}
